class BookInstance < ActiveRecord::Base
  attr_accessible :book_id, :note, :status
    belongs_to:book
  has_many:loan
  validates_presence_of :book_id
end
